package com.tensquare.recruit.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author Macross
 * @Type Recruit.java
 * @Desc 招聘信息实体类
 * @date 2019/12/17 15:29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "tb_recruit")
@ApiModel(value = "招聘信息实体类")
public class Recruit implements Serializable {
    @Id
    @ApiModelProperty(value = "招聘信息d")
    private String id;
    @Column(name = "jobname")
    @ApiModelProperty(value = "职位名称")
    private String jobName;
    @ApiModelProperty(value = "薪资范围")
    private String salary;
    @ApiModelProperty(value = "经验要求")
    private String condition;
    @ApiModelProperty(value = "学历要求")
    private String education;
    @ApiModelProperty(value = "任职方式")
    private String type;
    @ApiModelProperty(value = "办公地址")
    private String address;
    @ApiModelProperty(value = "企业ID")
    private String eid;
    @Column(name = "createtime")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    @ApiModelProperty(value = "状态")
    private String state;
    @ApiModelProperty(value = "网址")
    private String url;
    @ApiModelProperty(value = "标签")
    private String label;
    @ApiModelProperty(value = "职位描述")
    private String content1;
    @ApiModelProperty(value = "职位要求")
    private String content2;
}
